﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace CommonLib
{
	public interface IUIView 
	{
		string ViewName { get; }
		#region Func
		void ViewInit();
		/// <summary>
		/// 当前窗口关闭
		/// </summary>
		void Close();
		/// <summary>
		/// 当前窗口返回上一窗口
		/// </summary>
		void Back();
		/// <summary>
		/// 当前窗口暂停
		/// </summary>
		void Pause();
		/// <summary>
		/// 当前窗口打开
		/// </summary>
		void Open();
		/// <summary>
		/// 从暂停中恢复
		/// </summary>
		void Resume();
		#endregion
	}
}